home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / devices / prtbase.g < prev    next >
Text File  |  1992-05-06  |  2KB  |  92 lines

  1. uintP_STKSIZE=0x800;
  2.  
  3. type
  4. „Library_t=unknown34,
  5. „MsgPort_t=unknown34,
  6. „Segment_t=unknown4,
  7. „IOExtPar_t=unknown62,
  8. „IOExtSer_t=unknown82,
  9. „timerequest_t=unknown40,
  10. „Task_t=unknown92,
  11. „Preferences_t=unknown224,
  12. „Segment_t=unknown4,
  13.  
  14. „DeviceData_t=struct{
  15. ˆLibrary_tdd_Device;
  16. ˆ*bytedd_Segment;
  17. ˆ*bytedd_ExecBase;
  18. ˆ*bytedd_CmdVectors;
  19. ˆ*bytedd_CmdBytes;
  20. ˆuintdd_NumCommands;
  21. „},
  22.  
  23. „PrinterData_t=struct{
  24. ˆDeviceData_tpd_Device;
  25. ˆMsgPort_tpd_Unit;
  26. ˆSegment_tpd_PrinterSegment;
  27. ˆuintpd_PrinterType;
  28. ˆ*PrinterSegment_tpd_SegmentData;
  29. ˆ*bytepd_PrintBuf;
  30. ˆproc()intpd_PWrite;
  31. ˆproc()intpd_PBothReady;
  32. ˆunion{
  33. ŒIOExtPar_tpd_p0;
  34. ŒIOExtSer_tpd_s0;
  35. ˆ}pd_ior0;
  36. ˆunion{
  37. ŒIOExtPar_tpd_p1;
  38. ŒIOExtSer_tpd_s1;
  39. ˆ}pd_ior1;
  40. ˆtimerequest_tpd_TIOR;
  41. ˆMsgPort_tpd_IORPort;
  42. ˆTask_tpd_TC;
  43. ˆ[P_STKSIZE]bytepd_Stk;
  44. ˆushortpd_Flags;
  45. ˆushortpd_pad;
  46. ˆPreferences_tpd_Preferences;
  47. ˆushortpd_PWaitEnabled;
  48. „},
  49.  
  50. „PrinterExtendedData_t=struct{
  51. ˆ*charped_PrinterName;
  52. ˆproc()voidped_Init,ped_Expunge,ped_Open,ped_Close;
  53. ˆushortped_PrinterClass,ped_ColorClass,ped_MaxColums,ped_NumCharSets;
  54. ˆuintped_NumRows;
  55. ˆulongped_MaxXDots,ped_MaxYDots;
  56. ˆuintped_XDotsInch,ped_YDotsInch;
  57. ˆ***charped_Commands;
  58. ˆproc()intped_DoSpecial,ped_Render;
  59. ˆulongped_TimeoutSecs;
  60. ˆ**charped_8BitChars;
  61. „},
  62.  
  63. „PrinterSegment_t=struct{
  64. ˆSegment_tps_NextSegment;
  65. ˆulongps_runAlert;
  66. ˆuintps_Version,ps_Revision;
  67. ˆPrinterExtendedData_tps_PED;
  68. „};
  69.  
  70. ushort
  71. „PPCB_GFXŒ=0,
  72. „PPCF_GFXŒ=1<<PPCB_GFX,
  73. „PPCB_COLORŠ=1,
  74. „PPCF_COLORŠ=1<<PPCB_COLOR,
  75.  
  76. „PPC_BWALPHA‰=0,
  77. „PPC_BWGFX‹=1,
  78. „PPC_COLORGFXˆ=3,
  79.  
  80. „PCC_BWŽ=1,
  81. „PCC_YMC=2,
  82. „PCC_YMC_BWŠ=3,
  83. „PCC_YMCBŒ=4,
  84.  
  85. „PCC_4COLORŠ=0x4,
  86. „PCC_ADDITIVEˆ=0x8,
  87.  
  88. „PCC_WBŽ=0x9,
  89. „PCC_BGR=0xa,
  90. „PCC_BGR_WBŠ=0xb,
  91. „PCC_BGRWŒ=0xc;
  92.